package com.buaa.aimall.userModule.Converter;

import com.buaa.aimall.userModule.Entity.ShoppingCartEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.buaa.aimall.userModule.DTO.CreateShoppingCartItemDTO;

@Mapper
public interface ShoppingCartConvert {
    ShoppingCartConvert INSTANCE = Mappers.getMapper(ShoppingCartConvert.class);

    ShoppingCartEntity createCartDTOToEntity(CreateShoppingCartItemDTO dto);
}
